<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/sncss/css/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/sncss/css/combo.select.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="__PUBLIC__/admin/datepicker/WdatePicker.js"></script>

</head>

<body>

	<div class="place">
	<span>位置：</span>
	<ul class="placeul">
	<li><a>首页</a></li>
	<li><a>管理</a></li>
	<li><a>拼音</a></li>
	</ul>
	</div>

	<div class="formbody">

	<div class="formtitle"><span>拼音</span></div>
	  <form id="form1" name="form1" method="post" action="{:U('/Home/System/pinyin')}" onsubmit="return form1_submit();">

	<li><label>内容</label><textarea name="words" id="words" type="text" >{$words}</textarea></li>
	<li><label>拼音</label><textarea name="result" id="result" type="text">{$result}</textarea></li>
	<li id="a"><br><br><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认" onclick="sub()" /></li>
	<li id="b" style="display: none;"><br><br><label>&nbsp;</label><input name="" type="submit" style="width:107px;height:36px;font-size:14px;font-weight:bold;color:#fff; cursor:pointer;background-color:#a7b5bc;" value="提交中"/></li>
	</ul>
	  </form>

	</div>


</body>
<script type="text/javascript">
	function sub(){
		var a=document.getElementById('a');
		var b=document.getElementById('b');
		a.style.cssText="display: none;";
		b.style.cssText="display: ;";
	}
</script>
<script type="text/javascript" src="__PUBLIC__/admin/ueditor/pinyin_ueditor.config.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
var editor = UE.getEditor('words',{    //content为要编辑的textarea的id
	initialFrameWidth: 800,   //初始化宽度
	initialFrameHeight: 200,   //初始化高度
});

var editor = UE.getEditor('result',{    //content为要编辑的textarea的id
	initialFrameWidth: 800,   //初始化宽度
	initialFrameHeight: 200,   //初始化高度
});
</script>
</html>
